/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vehicle.entity;

import java.sql.Date;

/**
 *
 * @author khoangpv_a04581
 */
public class Orders {

    private int orderID;
    private String modelNumber;
    private String cusFullName;
    private String address;
    private String email;
    private String phoneNumber;
    private String comments;
    private double price;
    private int quantity;
    private int vehicleID;
    private Date dateRegis;
    private Date dateOrder;
    private String userName;
    private int status;
    private String button;

    public Orders() {
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getButton() {
        if (status == 0) {
            button = "Payment";
        } else {
            button = "Detail";
        }
        return button;
    }

    public void setButton(String button) {
        this.button = button;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getCusFullName() {
        return cusFullName;
    }

    public void setCusFullName(String cusFullName) {
        this.cusFullName = cusFullName;
    }

    public Date getDateOrder() {
        return dateOrder;
    }

    public void setDateOrder(Date dateOrder) {
        this.dateOrder = dateOrder;
    }

    public Date getDateRegis() {
        return dateRegis;
    }

    public void setDateRegis(Date dateRegis) {
        this.dateRegis = dateRegis;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public int getOrderID() {
        return orderID;
    }

    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getVehicleID() {
        return vehicleID;
    }

    public void setVehicleID(int vehicleID) {
        this.vehicleID = vehicleID;
    }
}
